<?php
//鹅适配器，叫起来像鸭子
class EAdapt implements DuckInterface{
    protected $e;
    public function __construct(E $e)
    {
        $this->e = $e;
    }

    public function quick()
    {
        $this->e->hook();
    }
    
}